package com.eshop.modules.system.service.dto;

import java.sql.Timestamp;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;
import java.io.Serializable;

public class DeptDto implements Serializable
{
    private Long id;
    private String name;
    private Long pid;
    private Boolean enabled;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<DeptDto> children;
    private Timestamp createTime;
    
    public String getLabel() {
        return this.name;
    }
    
    public Long getId() {
        return this.id;
    }
    
    public String getName() {
        return this.name;
    }
    
    public Long getPid() {
        return this.pid;
    }
    
    public Boolean getEnabled() {
        return this.enabled;
    }
    
    public List<DeptDto> getChildren() {
        return this.children;
    }
    
    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public void setPid(final Long pid) {
        this.pid = pid;
    }
    
    public void setEnabled(final Boolean enabled) {
        this.enabled = enabled;
    }
    
    public void setChildren(final List<DeptDto> children) {
        this.children = children;
    }
    
    public void setCreateTime(final Timestamp createTime) {
        this.createTime = createTime;
    }
}
